package org.chen.ctrip.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.chen.common.ctrip.entity.ContentReplaceRule;

import java.util.List;

// ContentReplaceRuleService.java
public interface ContentReplaceRuleService extends IService<ContentReplaceRule> {
    List<ContentReplaceRule> getEnabledRules();
    String applyReplaceRules(String content);
    void saveRule(ContentReplaceRule rule);
    void updateRule(ContentReplaceRule rule);
    void deleteRule(Long id);
    void toggleRuleStatus(Long id, Boolean enabled);
}